var BaseLabelCtr = require('./../../FrameWork/Component/BaseLabelCtr');
module.exports = cc.Class({
    extends: BaseLabelCtr,
    properties: {
        lb2: {
            default: null,
            type: cc.Label
        },
        lineOne2: {
            default: null,
            type: cc.LabelOutline
        }
    },
    setContentSize(_size) {
        this._super(_size);
        this.lb2.node.setContentSize(_size);
    },
    setText(txt) {
        this._super(txt);
        this.lb2.string = txt;
    },
    /***设置字体大小 */
    setFontSize(fontSize) {
        this._super(fontSize);
        this.lb2.fontSize = fontSize;
        return this;
    },
    setColor2(color) {
        this.lb2.color = color;
    },
    setOutlineColor2(color) {
        this.lineOne2.color = color;
    },
    setOutlineWidth2(_width) {
        this.lineOne2.width = _width;
    },
    /***Label.Overflow.SHRINK */
    setOverflow(Overflow) {
        this._super(Overflow);
        this.lb2.overflow = Overflow;
    }
});